package com.kgc.activityprovider.dao;


import com.kgc.activiti.pojo.WorkFlow;
import com.kgc.activiti.util.ResponseMsg;

import java.util.List;
import java.util.Map;

public interface WorkFlowMapper {
    int exportWorkerFlow(WorkFlow workFlow);

    List<WorkFlow> getWorkFlowList(Map<String, Object> paramMap);

    int editWorkFlow(WorkFlow workFlow);

    WorkFlow selectWorkFlowByType(int type);

    WorkFlow checkTypeExit(int type);

    WorkFlow checkCodeExit(String code);
    WorkFlow checkNameExit(String name);
}
